GtkAccelLabel: Don't show "+" if there's no more keys to add
authorBastien Nocera <hadess@hadess.net>
Mon, 18 Feb 2013 10:59:26 +0000 (11:59 +0100)
committerBastien Nocera <hadess@hadess.net>
Mon, 18 Feb 2013 17:00:44 +0000 (18:00 +0100)
commit3c8a4126a897b032eda6c7baa287ebe94c9e5736
tree311d93276d9a9b43a2b960c8ff9d73ca46261215
parent5dbf814f0c0c94733ef96d6dc3c8c5ddb7a63f3a
GtkAccelLabel: Don't show "+" if there's no more keys to add

With the following code:
    #define INVALID_CHAR GDK_KEY_VoidSymbol - 1
    gtk_accelerator_get_label (INVALID_CHAR, GDK_SHIFT_MASK | GDK_CONTROL_MASK);
we would get this label:
    Shift+Ctrl+
instead of this label:
    Shift+Ctrl

https://bugzilla.gnome.org/show_bug.cgi?id=694075
gtk/gtkaccellabel.c